<template>注册</template>

<script setup lang="ts">
  const route = useRoute();
  onMounted(() => {
    console.log(route.query, 'query');
    console.log(route.params, 'params');
  });
</script>

<style scoped lang="scss"></style>
